package com.vimi8.ebb.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by think on 2016/12/16.
 */
@ApiModel("消息详情")
public class MessageDetailDTO {

    private String id;//消息主键id
    private String messageTitle;//消息标题
    private String messageContent;//消息内容
    private String messageType;//消息类型
    private String releasePerson;//发信人
    private String createTime;//时间
    private int isRead;//是否已读
    private String releaseId;//发信人id
    private String isPoor;//是否贫困户
    private String phone;//电话
    private String addressCode;//
    private String addressDetail;//地址详情
    private String headImg;//头像


    @Override
    public String toString() {
        return "MessageDetailDTO{" +
                "id='" + id + '\'' +
                ", messageTitle='" + messageTitle + '\'' +
                ", messageContent='" + messageContent + '\'' +
                ", messageType='" + messageType + '\'' +
                ", releasePerson='" + releasePerson + '\'' +
                ", createTime='" + createTime + '\'' +
                ", isRead=" + isRead +
                ", releaseId='" + releaseId + '\'' +
                ", isPoor='" + isPoor + '\'' +
                ", phone='" + phone + '\'' +
                ", addressCode='" + addressCode + '\'' +
                ", addressDetail='" + addressDetail + '\'' +
                ", headImg='" + headImg + '\'' +
                '}';
    }

    public MessageDetailDTO() {
    }

    public MessageDetailDTO(String id, String messageTitle, String messageContent, String messageType, String releasePerson, String createTime, int isRead, String releaseId, String isPoor, String phone, String addressCode, String addressDetail, String headImg) {

        this.id = id;
        this.messageTitle = messageTitle;
        this.messageContent = messageContent;
        this.messageType = messageType;
        this.releasePerson = releasePerson;
        this.createTime = createTime;
        this.isRead = isRead;
        this.releaseId = releaseId;
        this.isPoor = isPoor;
        this.phone = phone;
        this.addressCode = addressCode;
        this.addressDetail = addressDetail;
        this.headImg = headImg;
    }

    public String getId() {

        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * 消息标题
     * @return
     */
    @ApiModelProperty("消息标题")
    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle;
    }
    /**
     * 消息内容
     * @return
     */
    @ApiModelProperty("消息内容")
    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    /**
     * 消息类型
     * @return
     */
    @ApiModelProperty("消息类型")
    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getReleasePerson() {
        return releasePerson;
    }

    public void setReleasePerson(String releasePerson) {
        this.releasePerson = releasePerson;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * 标识是否已读
     * @return
     */
    @ApiModelProperty("标识是否已读")
    public int getIsRead() {
        return isRead;
    }

    public void setIsRead(int isRead) {
        this.isRead = isRead;
    }
    /**
     * 发布人id
     * @return
     */
    @ApiModelProperty("发布人id")
    public String getReleaseId() {
        return releaseId;
    }

    public void setReleaseId(String releaseId) {
        this.releaseId = releaseId;
    }

    public String getIsPoor() {
        return isPoor;
    }
    /**
     * 是否贫困户
     * @return
     */
    @ApiModelProperty("是否贫困户")
    public void setIsPoor(String isPoor) {
        this.isPoor = isPoor;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    /**
     * 地址
     * @return
     */
    @ApiModelProperty("地址")
    public String getAddressCode() {
        return addressCode;
    }

    public void setAddressCode(String addressCode) {
        this.addressCode = addressCode;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    /**
     * 头像
     * @return
     */
    @ApiModelProperty("头像")
    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }
}
